﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml.Serialization;
namespace Common
{
    public class ClassList
    {
        private string strFilename = System.IO.Directory.GetCurrentDirectory() + "\\classSetting.xml";
        public XMLINFO xmlClassList;
        public ClassList()
        {
            if (File.Exists(strFilename))
            {
                using (FileStream reader = new FileStream(strFilename, FileMode.Open))
                {
                    XmlSerializer readclassXML = new XmlSerializer(typeof(XMLINFO));
                    xmlClassList = ((XMLINFO)readclassXML.Deserialize(reader));
                }
            }
        }
        
    }
}
